body,html{
    width: 100%;
    height: 100%;
}
*{
    padding: 0;
    margin: 0;
}
header{
    width: 100%;
    height: 5rem;
    background: red;
    display: flex;
    .one{
        margin-left: 1rem;
        width: 20%;
        height: 5rem;
        color: #fff;
        font-size: 3rem;
        text-align: center;
        line-height: 5rem;
    }
    input{
       margin-top: 1rem;
        width: 30rem;
        height: 3rem;
        border-radius: 2.5rem;
        text-indent: 2em;
    }
}
// 主体部分
main{
     display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    .swiper{
        width: 100%;
        height: 15rem;
        background: chartreuse;
        img{
            width: 100%;
            height: 15rem;
        }
    }
}